<#import "/spring.ftl" as s/>
<@override name="project">
         ${project.name}
</@override>
<@override name="main">
<ol class="wizard-nav">
    <li class="done"><a href="#"><span class="badge">1</span><small>发布信息</small></a></li>
    <li class="done"><a href="#"><span class="badge">2</span><small>触发构建</small></a></li>
    <li class="done"><a href="#"><span class="badge badge-info">3</span><small>缺陷报告</small></a></li>
    <li class="active"><a href="#"><span class="badge badge-warning">4</span><small>开发范围&特性描述</small></a></li>
    <li><a href="#" data-disabled><span class="badge badge-important">5</span><small>邮件通知&确认发布</small></a></li>
</ol><br/><br/><br/>
<fieldset >
    <legend>XXX</legend>
    <div id="step4_form_">
        <form id="step4_form" action="<@s.url '/project/milestone/wizard/wizard_form/'/>${milestone.id}" method="post">
        <#--<form id="step4_form" action="http://192.168.75.68/DailyBuildService/DailyBuildService.asmx/BuildNotes" method="post">-->
            <table art="form" rightAlign="true" columns="1,9" autoLabel="true"  colon="true">
                <tr>
                    <td></td>
                    <td><input type="hidden" id="_page" name="_page" value="3">
                        <#--<input type="hidden" id="userID" name="userID" value="7a6ecf16-1679-46f1-a359-1d5ad0a2ee33">-->
                        <#--<input type="hidden" id="projectName" name="projectName" value="虚拟项目—EPD">-->
                          <#--<input type="text"  name="buildName" value="cdms_build1002">-->
                        <#--<input type="text"  name="productVersion" value="100">-->
                        <#--<input type="text"  name="svnUrl" value="https://192.168.75.168:8888/svn/cdms/Branches/cdms-1.0.3/">-->



                        <#--<input type="text"  name="buildPurpose" value="新增功能">-->
                        <#--<input type="text"  name="componentList" value="3">-->
                        <#--<input type="text"  name="devScope" value="3">-->
                        <#--<input type="text"  name="newFeature" value="3">-->
                        <#--<input type="text"  name="deployInfo" value="3">-->
                        <#--<input type="text"  name="questionKnown" value="3">-->
                        <#--<input type="text"  name="mailList" value="false">-->
                        <#--<input type="text"  name="isBG" value="true">-->


                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="projectName">项目名称</label>
                    </td>
                    <td>
                        <input type="text"art="textbox" id="projectName" name="projectName" readonly="true" value="${project.name}">
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="buildNote">构建号</label>
                    </td>
                    <td>
                        <input type="text" art="textbox" id="buildNote" name="buildNote" readonly="true" value="${milestoneReport.buildNote}" />
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="goal">构建目的</label>
                    </td>
                    <td>
                        <input type="text" art="textbox" id="goal" name="goal"value="${milestoneReport.goal}" />
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="component">组件列表</label>
                    </td>
                    <td>
                        <textarea id="component" name="component"  art="textbox"  maxlength="250" width="300px" height="70px" style="resize: none" emptyText="构建列表"
                                 >${milestoneReport.component}</textarea>
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="devRange">开发/修改范围</label>
                    </td>
                    <td>
                           <textarea id="devRange" name="devRange"  art="textbox"  maxlength="250" width="300px" height="70px" style="resize: none" emptyText="开发/修改范围"
                               >${milestoneReport.devRange}</textarea>
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="updateFeature">新增/修改特性</label>
                    </td>
                    <td>
                             <textarea id="updateFeature" name="updateFeature"  art="textbox"  maxlength="250" width="300px" height="70px" style="resize: none" emptyText="新增/修改特性"
                                >${milestoneReport.updateFeature}</textarea>
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="issueList">已知问题列表</label>
                    </td>
                    <td>
                        <textarea id="issueList" name="issueList"  art="textbox"  maxlength="250" width="600px" height="70px" style="resize: none" emptyText="已知问题列表"
                                >${milestoneReport.issueList}</textarea>
                    </td>
                </tr>

                <tr>
                    <td>
                        <label art="label" for="attention">部署注意事项</label>
                    </td>
                    <td>
                        <textarea id="attention" name="attention"  art="textbox"  maxlength="250" width="300px" height="70px" style="resize: none" emptyText="部署注意事项"
                                >${milestoneReport.attention}</textarea>
                    </td>
                </tr>

                <tr>
                    <td>
                    </td>
                    <td>
                        <button type="submit" value="previous" name="_target2"> <span><span>上一步</span></span></button>
                        <button type="submit" value="next" name="_target4"> <span><span>下一步</span></span></button>
                        <button type="submit" name="_cancel" value="_cancel"><span><span>取消</span></span></button>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</fieldset>

</@override>
<@override name="scripts">
<script type="text/javascript">
      var  code ='${project.code}';
</script>

<#--<script type="text/javascript" src="<@s.url '/resources/scripts/project/milestone/edit.js'/>"></script>-->
</@override>
<@extends name="/common/projectlayout1.1.ftl" current="milestone" title='${title}' code='${project.code}'></@extends>